package com.carrental.integration.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文件上传响应DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文件上传响应DTO")
public class FileUploadDTO {

    @Schema(description = "原始文件名")
    private String originalFilename;

    @Schema(description = "文件大小(字节)")
    private Long size;

    @Schema(description = "文件类型")
    private String contentType;

    @Schema(description = "文件访问URL")
    private String url;

    @Schema(description = "文件存储路径")
    private String path;

    @Schema(description = "上传时间戳")
    private Long timestamp = System.currentTimeMillis();
} 